import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "../Public/SEntityId";
import { SPoint } from "../Public/SPoint";
type int = number;
//class SMapEntityPoint
    
    export  class SMapEntityPoint
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.entityId.__write(arg1);
            arg1.writeString(this.name);
            this.point.__write(arg1);
            arg1.writeByte(this.relationType);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(arg1);
            this.name = arg1.readString();
            this.point = new SPoint();
            this.point.__read(arg1);
            this.relationType = arg1.readByte();
            return;
        }

        public /* var */entityId: SEntityId;

        public /* var */name: string;

        public /* var */point: SPoint;

        public /* var */relationType: int;
    }
